<?php

namespace app\controller;

use core\Controller;

class Login extends Controller
{
    // 显示登录页面
    public function index()
    {
        $this->view('user/login');
    }

    public function check()
    {
        $name = $this->post('name');

        echo $name;
    }
}